package cn.cdeden.knowledge.domain.dto;

import cn.cdeden.common.mybatis.validator.Query;
import lombok.Data;

import java.util.Arrays;
import java.util.List;

@Data
public class EnterpriseFilesTreeQueryParam {
    /**
     * 模糊
     */
    @Query(type = Query.Type.INNER_LIKE)
    private String realName;

    @Query
    private String id;
    @Query
    private String parentId;
    @Query
    private String parentFile;

    private List<String> sort = Arrays.asList("sort Asc,type Desc,create_time Desc".split(","));

    private List<Long> ids;
    private List<Long> parentIds;

    private Long userId;
}
